1 minute = 60 seconds
So Minutes can be converted into seconds by multiplying it with 60
So Minutes can be converted into seconds by multiplying it with 60
Here is the code for same
Code :
def convert(min):
sec = min*60
return sec
minutes = int(input("Minutes : "))
print("Second : ",convert(minutes))
Output :
Minutes : 5Second : 300
Explanation :
Here I have inputted 5 which is converted to seconds and 300 as a result printed. You can also take input as floating point number which will help you to input minutes in decimal.
4 Comments
Bro I want To Contact you How i can
ReplyDeleteI filled the Form and how i contact You You Can reply me here Also
i have recieved your response
DeleteBro I want To Contact you How i can
ReplyDeleteI filled the Form and how i contact You You Can reply me here Also
I ALSO HAVE MY SITE
http://theyourcode.blogspot.com/
i have mailed you, my name is abhay kumar or contact me at instagram @abhie.7
DeleteAsk Your Queries in the comments